package com.xiaocao.serviceimpl;

import com.xiaocao.beans.UserInfo;
import com.xiaocao.dao.IUserInfoDao;
import com.xiaocao.iservice.IUserInfoService;

public class UserInfoServiceImpl implements IUserInfoService{

	private IUserInfoDao userInfoDao;
	
	public void setUserInfoDao(IUserInfoDao userInfoDao) {
		this.userInfoDao = userInfoDao;
	}
	
	@Override
	public UserInfo getUser(String name) {
		return userInfoDao.getUser(name);
	}
	
	

}
